package com.hxy.service;

import com.hxy.bean.Autowired;
import com.hxy.bean.Component;

@Component("b")
public class Bservice {

    @Autowired
    private AService a;

    public void query1(){
        System.out.println("222");
        a.query1();
    }
}
